using System.Collections.Generic;

namespace EIMS.Models.ViewModels
{
    /// <summary>
    /// 客户详情视图模型
    /// </summary>
    public class CustomerDetailViewModel
    {
        /// <summary>
        /// 客户基本信息
        /// </summary>
        public Customer Customer { get; set; }
        
        /// <summary>
        /// 客户联系人列表
        /// </summary>
        public List<CustomerContact> Contacts { get; set; } = new List<CustomerContact>();
        
        /// <summary>
        /// 客户交易记录列表
        /// </summary>
        public List<CustomerTransaction> Transactions { get; set; } = new List<CustomerTransaction>();
        
        /// <summary>
        /// 交易统计信息
        /// </summary>
        public decimal TotalTransactionAmount { get; set; }
        
        /// <summary>
        /// 未结算金额
        /// </summary>
        public decimal UnpaidAmount { get; set; }
        
        /// <summary>
        /// 交易次数
        /// </summary>
        public int TransactionCount { get; set; }
    }
} 